package demo3;

import java.util.Stack;

public class Test1 {
    public static void main(String[] args) {
        MinStack minStack = new MinStack();
        minStack.push(512);
        minStack.push(-1024);
        minStack.push(-1024);
        minStack.push(512);
        minStack.pop();
        minStack.getMin();
        minStack.pop();
        minStack.getMin();
        minStack.pop();
        minStack.getMin();
        System.out.println("======");
        Integer a1 = new Integer(20);
        Integer b1 = new Integer(20);
        System.out.println(a1 == b1);
        Integer a = 20;
        Integer b = 20;
        System.out.println(a == b);
        int o = a.intValue();
        System.out.println(o);
        Stack<Integer> stack = new Stack<>();
        stack.pop();
    }
}
